package com.javafamily;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

// 开启Turbine聚合功能
@EnableTurbine
// 开启Hystrix仪表盘功能
@EnableHystrixDashboard
@SpringCloudApplication
public class BusConfigConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BusConfigConsumerApplication.class, args);
    }

}
